package libra.gatewayListener.implByApplicationListener;

import org.springframework.cloud.endpoint.event.RefreshEvent;
import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Component;

/** 
 * 自定义Event事件处理，主要监听RefreshEvent事件的发布 
 */
//@Component
public class ExecuteRefreshEvent implements ApplicationListener<RefreshEvent> {
	@Override
	public void onApplicationEvent(RefreshEvent event) {
		System.err.println( "捕获到ApplicationReadyEvent..." );
	}
}